package entities;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class TimeTable implements Iterable<TimeTableRow> {
	 
	private List<TimeTableRow> rows = new ArrayList<TimeTableRow>();
	
	public TimeTable(){
		for(int i = 0; i < 5; i++) {
			rows.add(new TimeTableRow());
		}
	}
	
	@Override
	public Iterator<TimeTableRow> iterator() {
		return this.rows.iterator();
	}

}